/**
 * 
 */
package gui;

import javax.swing.*;
import java.awt.*;
/**
 * @author Chris
 *
 */
public class YearPane extends JPanel {
	
	public YearPane() {
		this.setBackground(Color.yellow);
		GridBagLayout gbl = new GridBagLayout();
		GridBagConstraints gbc = new GridBagConstraints();
		this.setLayout(gbl);
		
		JLabel jlCredits = new JLabel("Total Credits:");
		gbc.gridx = 0;
		gbc.gridy = 2; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.LINE_END; 
		gbl.setConstraints(jlCredits, gbc);
		this.add(jlCredits); 
		
		JLabel jlFall = new JLabel("Fall");
		gbc.gridx = 1;
		gbc.gridy = 0; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 15; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(jlFall, gbc);
		this.add(jlFall);
		
		Box fallBox = Box.createVerticalBox();
		gbc.gridx = 1;
		gbc.gridy = 1; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 70; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.LINE_START; 
		gbl.setConstraints(fallBox, gbc);
		this.add(fallBox);
		
		JLabel fallCredits = new JLabel("0");
		gbc.gridx = 1;
		gbc.gridy = 2; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(fallCredits, gbc);
		this.add(fallCredits);
		
		JLabel jlWinter = new JLabel("Winter");
		gbc.gridx = 2;
		gbc.gridy = 0; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(jlWinter, gbc);
		this.add(jlWinter);
		
		Box winterBox = Box.createVerticalBox();
		gbc.gridx = 2;
		gbc.gridy = 1; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 70; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.LINE_START; 
		gbl.setConstraints(winterBox, gbc);
		this.add(winterBox);
		
		JLabel winterCredits = new JLabel("0");
		gbc.gridx = 2;
		gbc.gridy = 2; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(winterCredits, gbc);
		this.add(winterCredits);
		
		JLabel jlSpring = new JLabel("Spring");
		gbc.gridx = 3;
		gbc.gridy = 0; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(jlSpring, gbc);
		this.add(jlSpring);
		
		Box springBox = Box.createVerticalBox();
		gbc.gridx = 3;
		gbc.gridy = 1; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 70; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.LINE_START; 
		gbl.setConstraints(springBox, gbc);
		this.add(springBox);
		
		JLabel springCredits = new JLabel("0");
		gbc.gridx = 3;
		gbc.gridy = 2; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(springCredits, gbc);
		this.add(springCredits);
		
		JLabel jlSummer1 = new JLabel("Summer1");
		gbc.gridx = 4;
		gbc.gridy = 0; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(jlSummer1, gbc);
		this.add(jlSummer1);
		
		Box summer1Box = Box.createVerticalBox();
		gbc.gridx = 4;
		gbc.gridy = 1; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 70; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.LINE_START; 
		gbl.setConstraints(summer1Box, gbc);
		this.add(summer1Box);
		
		JLabel summer1Credits = new JLabel("0");
		gbc.gridx = 4;
		gbc.gridy = 2; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(summer1Credits, gbc);
		this.add(summer1Credits);
		
		JLabel jlSummer2 = new JLabel("Summer2");
		gbc.gridx = 5;
		gbc.gridy = 0; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(jlSummer2, gbc);
		this.add(jlSummer2);
		
		Box summer2Box = Box.createVerticalBox();
		gbc.gridx = 5;
		gbc.gridy = 1; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 70; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.LINE_START; 
		gbl.setConstraints(summer2Box, gbc);
		this.add(summer2Box);
		
		JLabel summer2Credits = new JLabel("0");
		gbc.gridx = 5;
		gbc.gridy = 2; 
		gbc.gridwidth = 1; 
		gbc.gridheight = 1; 
		gbc.weightx = 10; 
		gbc.weighty = 15; 
		gbc.fill = GridBagConstraints.NONE; 
		gbc.anchor = GridBagConstraints.CENTER; 
		gbl.setConstraints(summer2Credits, gbc);
		this.add(summer2Credits);
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
